import {createApp} from "vue"

import "@/assets/base.less";
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

import router from './router/index.ts'
import {setupGuard} from "./router/guard";
import zjRequest from './services/index.ts'
import store, {setupStore} from './store'
import App from "./App.vue";
import asyncComponentsPlugin from "./asyncComponents";


const app = createApp(App);
app.config.globalProperties.$req = zjRequest
app.use(Antd)
app.use(store)
setupStore()
app.use(router)
setupGuard()
app.use(asyncComponentsPlugin)
app.mount("#app");
